package com.orangelife.mobile.parkingcard.activity;
/**
 * 
 * 停车管理--提示申请
 */
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

import com.curry.android.util.IntentHelper;
import com.curry.orangelife.mobile.R;
import com.orangelife.mobile.common.activity.OrangeLifeBaseActivity;

public class SuggestApplyActivity extends OrangeLifeBaseActivity {
	
	private Button btnApplyParkingCard;
	
	private TextView tvTitle;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_parking_card_suggest_apply);
		initeView();
		findView();
	}

	/**
	 * 初始化
	 */
	private void initeView() {
		
		btnApplyParkingCard = (Button) findViewById(R.id.btnApplyParkingCard);
		tvTitle = (TextView) findViewById(R.id.tv_title);
	}

	/**
	 * 赋值
	 */
	private void findView() {
		
		tvTitle.setText(R.string.park_card_manage);
		
		btnApplyParkingCard.setOnClickListener(listener);
	}
	
	public OnClickListener listener = new OnClickListener() {
		
		@Override
		public void onClick(View view) {
			
			switch (view.getId()) {
			case R.id.btnApplyParkingCard:
				
				IntentHelper.getInstances().getIntent(SuggestApplyActivity.this, ApplyForParkingCardBeginActivity.class);
					
				finish();
				
			
				break;

			default:
				break;
			}
		}
	};

}
